package com.tosit.bmx.service.admin.Impl;

import com.tosit.bmx.domian.Muser;
import com.tosit.bmx.mapper.MuserMapper;
import com.tosit.bmx.service.admin.MuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 管理员服务实现类
 *
 * @author tsl
 * @create 2018-04-20 14:52
 **/
@Service
public class MuserServiceImpl implements MuserService {
    @Autowired
    MuserMapper muserMapper;

    /**
     * @param
     * @return
     * @author tsl
     * @date 2018/4/20 16:57
     */
    @Override
    public Muser findsUserByName(String name) {
        return muserMapper.selectByName(name);
    }
}
